package org.giantlizard.cloud.user.token.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private String id;
    private String username;
    private String tenantId;
    private String orgId;
    private String orgName;

    private List<String> roles;

    private List<Map<String, String>> authorities;
    private List<String> deptIdList;

    private Map<String, Object> extendMap = new HashMap<>();

}
